/**
 * Copyright (C), 2020-2021 by colley.ma
 * File Name: FilterConstants.java
 * Encoding: UTF-8
 * Date: 2021年12月21日 下午4:11:55
 * History:
 */
package com.swak.frame.filter;

import com.swak.frame.SwakConstants;

public final class FilterConstants {

    public final static String PREFIX = SwakConstants.SWAK_SPI + ".filter";

    public final static String WHITE_LIST = PREFIX + ".whitelist";

    public static final String FUTURE_CLOCK = PREFIX + ".futureClock";

    public static final String FILTER_RATE_LIMIT = PREFIX + ".rateLimit";

    public static final String FILTER_RATE_LIMIT_QPS = FILTER_RATE_LIMIT + ".qps";

    public static final String FILTER_RATE_LIMIT_ENABLED = FILTER_RATE_LIMIT + ".enable";

    public static final int DEFAULT_QPS = 1000;

}
